
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;

}
div{
    box-sizing: border-box;
}
/* 搜索模块 */
.search-index{
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    /* 固定的盒子应该有宽度 */
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /* 不给left值也行 */
    width: 100%;

    max-width: 540px;
    min-width: 320px;
    height: 44px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;

}
.search{
    position: relative;
    height: 26px;
    border: 1px solid #ccc;
    margin: 7px 10px;
    flex: 1;
    font-size: 12px;
    color: #666;
    line-height: 24px;
    padding-left: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.search::before{
    content: "";
    /* display: block; */
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
    /* margin: 5px; */
}
.user{
    width: 44px;
    height: 44px;
    color: #2eaae0;

    font-size: 12px;
    text-align: center;
}
.user::before{
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background:url(../../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px auto -2px;
}

/* focus */
.focus{
    padding-top: 44px;
}
.focus img{
    width: 100%;
}
/* 局部导航栏  */
.local-nav{
    display: flex;
    height: 64px;
    background-color: #fff;
    margin: 3px 4px;
    border-radius: 8px;


}
.local-nav li{
    flex: 1;
}